import App from './App'
import Intercepter from './utils/interceptor'
import uView from "./uni_modules/uview-ui";
import {request} from '@/request.js'
import {nowDate} from './utils/dataUtils'
// #ifndef VUE3
import Vue from 'vue'
Vue.use(uView);
Vue.config.productionTip = false
App.mpType = 'app'
Vue.prototype.$request = request
Vue.prototype.$nowDate = nowDate
const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif